import cv2

def recognition(image_file):
    img = cv2.imread(image_file)
    if img is not None:
        print("read image succeed!")
        cv2.imshow("img", img)
        cv2.waitKey(3000)
        return 1
    print("read image failed!")
    return 0





